package com.chenyue.cm.live.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author libingxing
 */
@Data
public class LiveUserRedis {

    @ApiModelProperty("直播记录id")
    private Integer recordId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户昵称")
    private String userName;

    @ApiModelProperty("用户头像地址")
    private String userAvatar;

    @ApiModelProperty("低时延拉流地址（带防盗链key）")
    private String accelerateUrl;

    @ApiModelProperty("开始时间")
    private Long startTime;

    @ApiModelProperty("当前时间")
    private Long current = System.currentTimeMillis() / 1000;

}
